package com.tom.demo.vo;
import com.tom.demo.common.entity.SysUser;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Set;

@Data
@ApiModel("用户信息")
@NoArgsConstructor
@AllArgsConstructor
public class UserInfoVo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("用户基本信息")
    private SysUser sysUser;

    @ApiModelProperty("用户角色信息")
    private Set<String> roles;

    @ApiModelProperty("按钮权限标识")
    private Set<String> permissions;

}
